import { useParams } from "react-router-dom"
//传参方式有三种
//1. 通过URL传参
//2. 通过state传参
//3. 通过search传参
const OneA = () => {
	// const { search } = useLocation()
	// console.log(search)
	// const { state } = useLocation()
	// console.log(state) 
	// const { name, age } = useParams()
	// console.log(name, age)
	return <div>二级路由内容</div>
}

export default OneA